package com.aioz.security.mapper;


import com.aioz.security.entity.Menu;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface MenuMapper extends BaseMapper<Menu> {

    List<String> selectPermsByUserId(Long userId);

    List<Menu> getMenusByUserId(Long id);

    List<Menu> getAllMenusByUserId(Long id);

}
